<?php if (!defined('THINK_PATH')) exit();?><div class="row">
        <div class="top">业务部>渠道投诉处理</div>
        <div class="content applylist">
            <div class="box">
                <h1>渠道投诉处理</h1>
                <div class="list-block">
                    <div class="row">
                        <label>用户名称:</label> <input type="text" name="" placeholder="请输入名称">
                        <label>手机号:</label> <input type="text" name="" placeholder="请输入手机号">
                        <label>投诉时间:</label> <input type="date" name="" placeholder="请选择时间"><em>~</em><input type="date" name="" placeholder="请选择时间">
                        <button class="search"><img src="/Public/Admin/images/search.png" alt="">查询</button>
                    </div>
                    <div class="row">
                        <table class="list">
                            <tr>
                                <th>编号</th><th>申请人</th><th>投诉类型</th><th>添加时间</th><th>状态</th><th>操作</th>
                            </tr>
                            <?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$list): $mod = ($i % 2 );++$i;?><tr>
                                <td><?php echo ($i); ?></td>
                                <td><?php echo ($list["user_name"]); ?></td>
                                <td><?php echo ($list["user_phone"]); ?></td>
                                <td><?php switch($list["type"]): case "1": ?>业务问题<?php break;?>
                                   <?php case "2": ?>客户问题<?php break;?>
                                   <?php case "3": ?>流程问题<?php break; endswitch;?></td>
                                <td><?php echo (date('Y-m-d H:i',$list["add_time"])); ?></td>
                                <td><?php switch($list["status"]): case "0": ?>未处理<?php break;?>
                                   <?php case "1": ?>已处理<?php break; endswitch;?></td>
                                <td><a href="<?php echo U('Complain/place?id='.$list['id']);?>">投诉处理</a>&nbsp;&nbsp;<a href="<?php echo U('Complain/place_del?id='.$list['id']);?>">删除</a></td>
                             </tr><?php endforeach; endif; else: echo "" ;endif; ?>

                        </table>
                    </div>
                    <?php echo ($page); ?>
                </div>
            </div>
        </div>
    </div>